mysql -h192.168.56.102  -P3321  -uroot -proot -e "show databases;"


## 读写分离

mysql -h192.168.56.102  -P3321  -uroot -proot  -e  " \
show databases; \
use readwrite_splitting_db;\
show tables; \
select * from t_user;\
select * from t_user; \
insert into t_user(uname) values('wang5'); \
"

